<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>vue01</title>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>

</head>
<body>
    <div id="app">
        <span v-html='message'></span>
        <span v-text='message'></span>
        <button v-on:click="clickme">点我</button>
        <input @click="clickme" placeholder="输入点击"></input>
      </div>
</body>
</html>

<script>
    var app = new Vue({
  el: '#app',
  data: {
    message: '<h1>Hello Vue222!</h1>'
  },
  methods:{
    clickme: function(e){
        // console.log(e);
        for (let index = 0; index < arguments.length; index++) {
            console.log(arguments[index]);
        }
    }
  }
})
</script>